package org.lq.his.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.lq.his.pojo.Role;

public interface RoleService {
	
	public List<Role> getListByCondition(@Param("start") int start,@Param("limit") int limit,@Param("condition") Role condition,@Param("column") String column,@Param("orderBy") String orderBy);
	
	public int getCountByCondition(@Param("condition") Role condition);
	
	public void addRole(Role role);
	
	public void deleteRole(Integer[] roleIds);
	
	public Role getRoleById(Integer id);
	
	public void editRole(Role role);
	
	public List<Role> getAll();
}
